---
title: Argument 1 passed to Activitypub_rsa::generate_keys() must be of the type string, null given
author: notabug.org/spla
time: Thu, 07 Nov 2019 19:04:28 UTC
status: closed
---

author: notabug.org
time: Thu, 07 Nov 2019 19:04:28 UTC
content: -----
Testing 2.0.0-dev on matriu.cat. When I try to remote follow some user it shows me the confirm button and remote user's avatar. Correct. When I click on Confirm it throws the following error: Argument 1 passed to Activitypub_rsa::generate_keys() must be of the type string, null given, called in /var/www/vhosts/matriu.cat/httpdocs/nightly/plugins/ActivityPub/classes/Activitypub_rsa.php on line 84 If is the remote user who start following me before I try to remote follow him it appears in followers section (great!) and I can then start following him from there. Funny!
-----

author: notabug.org
time: Sat, 16 Nov 2019 15:34:28 UTC
content: -----
So, first of all, you shouldn't use v2 (nightly or experimental) in a production instance unless you really know what you're doing - it's intended for devs only. Only master and stable (1.20.9) are safe. About the issue, I think the error message you've got is fixed with https://notabug.org/diogo/gnu-social/commit/912d2ab1d23f24044ce2c04c4e5cf0f405ea84ff If follows keeps failing, then this might be an issue with the RemoteFollowPlugin... Thanks for helping with quality testing.
-----

author: notabug.org
time: Sat, 16 Nov 2019 15:55:21 UTC
content: -----
Yes! It works, 912d2ab1d2 fixed it. Thank you Diogo. I'm running v2 just for help testing it. It's not for production use. I'm closing this one.
-----
